package cn.edu.dutir.utility;

public final class Constants {

	public static final String NEWLINE = System.getProperty("line.separator");
	public static final String DEFAULT_DEMILTER = "\\s+";

	public static final int DEFAULT_BUFFER_SIZE = 1024*8;
	
	/**
	 * The default charset, &quot;gbk &quot;
	 */
	public static String DEFAULT_CHARSET = "gbk";
    /**
     * The newline character.
     */
    public static char NEWLINE_CHAR = '\n';

    /**
     * The default separator character, a single space.
     */
    public static char DEFAULT_SEPARATOR_CHAR = ' ';

    /**
     * The default separator string.  The string is length
     * <code>1</code>, consisting of the default separator character
     * {@link #DEFAULT_SEPARATOR_CHAR}.
     */
    public static String DEFAULT_SEPARATOR_STRING
        = String.valueOf(DEFAULT_SEPARATOR_CHAR);

    /**
     * A string consisting of a single space.
     */
    public static final String SINGLE_SPACE_STRING = " ";

    /**
     * The empty string.
     */
    public static final String EMPTY_STRING = "";

    /**
     * The zero-length character array.
     */
    public static final char[] EMPTY_CHAR_ARRAY = new char[0];

}
